package com.example.qxfw.yjqx.service.impl;

import com.example.qxfw.common.entity.ny.EmergencyDisaster;
import com.example.qxfw.yjqx.mapper.EmergencyDisasterMapper;
import com.example.qxfw.yjqx.service.EmergencyDisasterService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class EmergencyDisasterServiceImpl implements EmergencyDisasterService {

    @Autowired
    private EmergencyDisasterMapper emergencyDisasterMapper;

    @Override
    public List<EmergencyDisaster> list() {
        return emergencyDisasterMapper.selectList(null);
    }
}
